<!--{subtemplate jameson_read:163/read_header}-->
<!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]-->
<div class="uk-grid-collapse uk-margin-top" uk-grid>
	<div class="uk-width-medium">
			{if $_G['jameson_read']['shuxinglist']}
			<div class="uk-border-e6 uk-padding-small">
					{loop $_G['jameson_read']['shuxinglist'] $tag}
						<a href="./plugin.php?id=jameson_read&contrl=index&act=tag&tag={$tag}" class="uk-badge">{$tag}</a>
					{/loop}
			</div>
			{/if}
			{if $adv[0]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[0]['adv']);}
			</div>
			{/if}
			<ul class="uk-margin-top uk-padding-remove mb0 uk-tab-bb" uk-tab>
				<li class="uk-active">
						<a href="javascript:;">{lang jameson_read:xinshushangjia}</a>
				</li>
				<li>
						<a href="javascript:;">{lang jameson_read:yuedubang}</a>
				</li>
			</ul>
			<div class="uk-switcher">
				<ul class="uk-list uk-list-paihang uk-border-e6 uk-padding-remove mt0">
					{loop $paihangbang['zuixin'] $key $book}
						{if !$key}
						<li class="tuline cl">
							<span class="z mr10 xs3">1</span>
							<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
							<div>
								<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								<p>
								<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
								</p>
							</div>
						</li>
						{elseif $key < 8}
						<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key+1;}</span>{$book['book_name']}</a></li>
						{/if}
					{/loop}
				</ul>
				<ul class="uk-list uk-list-paihang uk-border-e6 uk-padding-remove mt0">
					{loop $paihangbang['yuedu'] $key $book}
						{if !$key}
						<li class="tuline cl">
							<span class="z mr10 xs3">1</span>
							<a href="{eval echo jamesonurl('book',$book['book_id']);}" class="z mr10 img"><img src="{if $book['image'] && preg_match('/^http|\/\//i',$book['image'])}{$book['image']}{elseif $book['image']}./data/attachment/forum/{$book['image']}{else}{$_G['jameson_read']['morenfengmian']}{/if}" alt=""></a>
							<div>
								<a class="xs3 xw1" href="{eval echo jamesonurl('book',$book['book_id']);}">{$book['book_name']}</a>
								<p>
								<a class="xs1 xg1" href="./plugin.php?id=jameson_read&contrl=index&act=zuozhe&zuozhe_name={$book['author']}">{$book['author']}</a>
								</p>
							</div>
						</li>
						{elseif $key < 8}
						<li class="line"><a href="{eval echo jamesonurl('book',$book['book_id']);}"><span>{eval echo $key+1;}</span>{$book['book_name']}</a></li>
						{/if}
					{/loop}
				</ul>
			</div>
			{if $adv[1]['adv']}
			<div class="cl" style="width: auto;margin:auto;overflow: hidden;">
				{eval echo stripcslashes($adv[1]['adv']);}
			</div>
			{/if}
	</div>
	<div class="uk-width-expand">
		<div class="uk-padding-small uk-margin-left uk-border-e6">
			{if $_G['jameson_read']['allowpostbook'] || ($hasdata && ($hasdata['status']==1))}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:wuxuzaicishenqing}</div>
			{elseif $hasdata && !$hasdata['status']}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:shenhezhong}</div>
			{elseif !$_G['uid']}
				<div class="uk-alert-danger uk-padding" uk-alert>{lang jameson_read:qingxiandenglu}</div>
			{else}
				<div class="zhubiaoti">{lang jameson_read:shenqingzuozhe}</div>
				<form class="uk-form-stacked uk-margin-top" action="./plugin.php?id=jameson_read&contrl=index&act=shenqing" method="post">
					<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:zhenshixingming}</label>
				       <div class="uk-form-controls">
							<input type="text" required  class="uk-input"  name="xingming" id="xingming">
				       </div>
				   	</div>
				   	<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:lianxifangshi}</label>
				   		<div class="uk-form-controls">
							<input type="text" required class="uk-input" name="lianxi" id="lianxi">
				   		</div>
				   	</div>
				   	<div class="uk-margin">
						<label class="uk-form-label">{lang jameson_read:fuyan}</label>
				   		<div class="uk-form-controls">
							<textarea id="fuyan"  name="fuyan" class="uk-textarea"></textarea>
				   		</div>
				   	</div>
					<input type="hidden" name="formhash" value="{FORMHASH}" />
					<div class="uk-margin">
						<button type="submit" class="uk-button uk-button-danger">{lang jameson_read:tijiao}</button>
					</div>
				</form>
			{/if}
		</div>
	</div>
</div>



<!--[diy=diy2]--><div id="diy2" class="area"></div><!--[/diy]-->
<!--{subtemplate jameson_read:163/read_footer}-->